﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HotelProject
{
    public partial class ThanksForBooking : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            Booking confirmedReservation = Session["booking"] as Booking;

            if (confirmedReservation != null)
            {


                bookingsLabel.InnerHtml += "Your Reservation ID is " + confirmedReservation.ID + "<br/>";
                bookingsLabel.InnerHtml += "Total Cost due at check in: $" + confirmedReservation.totalCost + ".00<br/>";
                bookingsLabel.InnerHtml += "Please Print this as your reciept" + "<br/>";
            }
            
        }
    }
}